package it.globalgamejam.dsm.menu
{
	import it.globalgamejam.dsm.components.Button;
	import it.globalgamejam.dsm.menu.MenuWorld;
	import it.globalgamejam.dsm.game.MainWorld;
	import net.flashpunk.FP;
	import net.flashpunk.World;
	/**
	 * ...
	 * @author N1xx1
	 */
	public class MenuWorld extends World
	{
		
		public function MenuWorld() 
		{
			var button:Button = new Button(100, 100, 200, 100, function():void {
				FP.world = new MainWorld();
			});
			add(button);
		}
	}
}